var mongoose = require("mongoose")

var Schema = mongoose.Schema

var articleSchema = new Schema({
  id: Number,
  content: String,
  title: String,
  username: String,
  category: Array,
})

var ArticleModel = mongoose.model("article", articleSchema)

module.exports = ArticleModel